// vite.config.js
import { defineConfig, loadEnv } from "file:///C:/Users/%E5%A4%A7%E5%B8%85%E6%AF%94%E7%9A%84%E7%94%B5%E8%84%91/OneDrive/%E6%A1%8C%E9%9D%A2/%E6%BB%A8%E5%B7%9E%E8%82%BA%E7%BB%93%E6%A0%B8%E7%AD%9B%E6%9F%A5%E9%A1%B9%E7%9B%AE/health-screening-program/frontend/back/check-health-back/node_modules/vite/dist/node/index.js";
import path2 from "path";

// vite/plugins/index.js
import vue from "file:///C:/Users/%E5%A4%A7%E5%B8%85%E6%AF%94%E7%9A%84%E7%94%B5%E8%84%91/OneDrive/%E6%A1%8C%E9%9D%A2/%E6%BB%A8%E5%B7%9E%E8%82%BA%E7%BB%93%E6%A0%B8%E7%AD%9B%E6%9F%A5%E9%A1%B9%E7%9B%AE/health-screening-program/frontend/back/check-health-back/node_modules/@vitejs/plugin-vue/dist/index.mjs";

// vite/plugins/auto-import.js
import autoImport from "file:///C:/Users/%E5%A4%A7%E5%B8%85%E6%AF%94%E7%9A%84%E7%94%B5%E8%84%91/OneDrive/%E6%A1%8C%E9%9D%A2/%E6%BB%A8%E5%B7%9E%E8%82%BA%E7%BB%93%E6%A0%B8%E7%AD%9B%E6%9F%A5%E9%A1%B9%E7%9B%AE/health-screening-program/frontend/back/check-health-back/node_modules/unplugin-auto-import/dist/vite.js";
function createAutoImport() {
  return autoImport({
    imports: [
      "vue",
      "vue-router",
      "pinia"
    ],
    dts: false
  });
}

// vite/plugins/svg-icon.js
import { createSvgIconsPlugin } from "file:///C:/Users/%E5%A4%A7%E5%B8%85%E6%AF%94%E7%9A%84%E7%94%B5%E8%84%91/OneDrive/%E6%A1%8C%E9%9D%A2/%E6%BB%A8%E5%B7%9E%E8%82%BA%E7%BB%93%E6%A0%B8%E7%AD%9B%E6%9F%A5%E9%A1%B9%E7%9B%AE/health-screening-program/frontend/back/check-health-back/node_modules/vite-plugin-svg-icons/dist/index.mjs";
import path from "path";
function createSvgIcon(isBuild) {
  return createSvgIconsPlugin({
    iconDirs: [path.resolve(process.cwd(), "src/assets/icons/svg")],
    symbolId: "icon-[dir]-[name]",
    svgoOptions: isBuild
  });
}

// vite/plugins/compression.js
import compression from "file:///C:/Users/%E5%A4%A7%E5%B8%85%E6%AF%94%E7%9A%84%E7%94%B5%E8%84%91/OneDrive/%E6%A1%8C%E9%9D%A2/%E6%BB%A8%E5%B7%9E%E8%82%BA%E7%BB%93%E6%A0%B8%E7%AD%9B%E6%9F%A5%E9%A1%B9%E7%9B%AE/health-screening-program/frontend/back/check-health-back/node_modules/vite-plugin-compression/dist/index.mjs";
function createCompression(env) {
  const { VITE_BUILD_COMPRESS } = env;
  const plugin = [];
  if (VITE_BUILD_COMPRESS) {
    const compressList = VITE_BUILD_COMPRESS.split(",");
    if (compressList.includes("gzip")) {
      plugin.push(
        compression({
          ext: ".gz",
          deleteOriginFile: false
        })
      );
    }
    if (compressList.includes("brotli")) {
      plugin.push(
        compression({
          ext: ".br",
          algorithm: "brotliCompress",
          deleteOriginFile: false
        })
      );
    }
  }
  return plugin;
}

// vite/plugins/setup-extend.js
import setupExtend from "file:///C:/Users/%E5%A4%A7%E5%B8%85%E6%AF%94%E7%9A%84%E7%94%B5%E8%84%91/OneDrive/%E6%A1%8C%E9%9D%A2/%E6%BB%A8%E5%B7%9E%E8%82%BA%E7%BB%93%E6%A0%B8%E7%AD%9B%E6%9F%A5%E9%A1%B9%E7%9B%AE/health-screening-program/frontend/back/check-health-back/node_modules/unplugin-vue-setup-extend-plus/dist/vite.js";
function createSetupExtend() {
  return setupExtend({});
}

// vite/plugins/index.js
function createVitePlugins(viteEnv, isBuild = false) {
  const vitePlugins = [vue()];
  vitePlugins.push(createAutoImport());
  vitePlugins.push(createSetupExtend());
  vitePlugins.push(createSvgIcon(isBuild));
  isBuild && vitePlugins.push(...createCompression(viteEnv));
  return vitePlugins;
}

// vite.config.js
var __vite_injected_original_dirname = "C:\\Users\\\u5927\u5E05\u6BD4\u7684\u7535\u8111\\OneDrive\\\u684C\u9762\\\u6EE8\u5DDE\u80BA\u7ED3\u6838\u7B5B\u67E5\u9879\u76EE\\health-screening-program\\frontend\\back\\check-health-back";
var vite_config_default = defineConfig(({ mode, command }) => {
  const env = loadEnv(mode, process.cwd());
  const { VITE_APP_ENV } = env;
  return {
    base: VITE_APP_ENV === "production" ? "/" : "/",
    plugins: createVitePlugins(env, command === "build"),
    resolve: {
      alias: {
        "~": path2.resolve(__vite_injected_original_dirname, "./"),
        "@": path2.resolve(__vite_injected_original_dirname, "./src")
      },
      extensions: [".mjs", ".js", ".ts", ".jsx", ".tsx", ".json", ".vue"]
    },
    server: {
      port: 5660,
      host: true,
      open: true,
      proxy: {
        // https://cn.vitejs.dev/config/#server-proxy
        "/dev-api": {
          target: "http://localhost:40080",
          changeOrigin: true,
          rewrite: (p) => p.replace(/^\/dev-api/, "")
        }
      }
    },
    css: {
      postcss: {
        plugins: [
          {
            postcssPlugin: "internal:charset-removal",
            AtRule: {
              charset: (atRule) => {
                if (atRule.name === "charset") {
                  atRule.remove();
                }
              }
            }
          }
        ]
      }
    }
  };
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiLCAidml0ZS9wbHVnaW5zL2luZGV4LmpzIiwgInZpdGUvcGx1Z2lucy9hdXRvLWltcG9ydC5qcyIsICJ2aXRlL3BsdWdpbnMvc3ZnLWljb24uanMiLCAidml0ZS9wbHVnaW5zL2NvbXByZXNzaW9uLmpzIiwgInZpdGUvcGx1Z2lucy9zZXR1cC1leHRlbmQuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxcdTU5MjdcdTVFMDVcdTZCRDRcdTc2ODRcdTc1MzVcdTgxMTFcXFxcT25lRHJpdmVcXFxcXHU2ODRDXHU5NzYyXFxcXF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DFcdTY1ODdcdTRFRjZcclxuICAgICAgICAgICAgcGx1Z2luLnB1c2goXHJcbiAgICAgICAgICAgICAgICBjb21wcmVzc2lvbih7XHJcbiAgICAgICAgICAgICAgICAgICAgZXh0OiAnLmd6JyxcclxuICAgICAgICAgICAgICAgICAgICBkZWxldGVPcmlnaW5GaWxlOiBmYWxzZVxyXG4gICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgKVxyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAoY29tcHJlc3NMaXN0LmluY2x1ZGVzKCdicm90bGknKSkge1xyXG4gICAgICAgICAgICBwbHVnaW4ucHVzaChcclxuICAgICAgICAgICAgICAgIGNvbXByZXNzaW9uKHtcclxuICAgICAgICAgICAgICAgICAgICBleHQ6ICcuYnInLFxyXG4gICAgICAgICAgICAgICAgICAgIGFsZ29yaXRobTogJ2Jyb3RsaUNvbXByZXNzJyxcclxuICAgICAgICAgICAgICAgICAgICBkZWxldGVPcmlnaW5GaWxlOiBmYWxzZVxyXG4gICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgKVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuICAgIHJldHVybiBwbHVnaW5cclxufVxyXG4iLCAiY29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2Rpcm5hbWUgPSBcIkM6XFxcXFVzZXJzXFxcXFx1NTkyN1x1NUUwNVx1NkJENFx1NzY4NFx1NzUzNVx1ODExMVxcXFxPbmVEcml2ZVxcXFxcdTY4NENcdTk3NjJcXFxcXHU2RUU4XHU1RERFXHU4MEJBXHU3RUQzXHU2ODM4XHU3QjVCXHU2N0U1XHU5ODc5XHU3NkVFXFxcXGhlYWx0aC1zY3JlZW5pbmctcHJvZ3JhbVxcXFxmcm9udGVuZFxcXFxiYWNrXFxcXGNoZWNrLWhlYWx0aC1iYWNrXFxcXHZpdGVcXFxccGx1Z2luc1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFt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